package cn.rongdao.jrkabao.util.dialog;

import android.app.Activity;

import cn.rongdao.jrkabao.widget.DialogKaMaoActivity;

/**
 * Created by jack on 2017/5/24
 */

public class DialogKaMaoPresenter {

    private DialogKaMaoActivity mDialogKaMaoActivity;

    public DialogKaMaoPresenter(Activity activity, String imageUrl, String link) {
        DialogKaMaoActivity.Builder builder = new DialogKaMaoActivity.Builder(activity);
        mDialogKaMaoActivity = builder.setImageUrl(imageUrl).setLink(link).create();
    }

    public void show() {
        mDialogKaMaoActivity.show();
    }
}